package com.aaa.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;


@TableName(value = "sys_user")
@Data
//@ApiModel(value = "SysUser)", description = "用户信息表")
public class User implements Serializable {

 private static final long serialVersionUID = -20935781495245044L;

 /**
 * 用户ID
 */
@TableId(value = "user_id",type= IdType.AUTO)
private Long userId;

//@ApiModelProperty(value = "部门ID")
private Long deptId;

//@ApiModelProperty(value = "用户账号")
private String userName;

//@ApiModelProperty(value = "用户类型（0超级用户为 1为系统用户）")
private String userType;

//@ApiModelProperty(value = "用户性别（0男 1女 2未知）")
private String sex;

//@ApiModelProperty(value = "年龄")
private Integer age;

//@ApiModelProperty(value = "头像")
private String picture;

//@ApiModelProperty(value = "学历 sys_dict_type:sys_user_background")
private String background;

//@ApiModelProperty(value = "电话")
private String phone;

//@ApiModelProperty(value = "用户邮箱")
private String email;

//@ApiModelProperty(value = "擅长")
private String strong;

//@ApiModelProperty(value = "荣誉")
private String honor;

//@ApiModelProperty(value = "简介")
private String introduction;

//@ApiModelProperty(value = "医生级别sys_dict_type:sys_user_level")
private String userRank;

//@ApiModelProperty(value = "密码")
private String password;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
//@ApiModelProperty(value = "最后一次登录时间")
private Date lastLoginTime;

//@ApiModelProperty(value = "最后登陆IP")
private String lastLoginIp;

//@ApiModelProperty(value = "帐号状态（0正常 1停用）")
private String status;

//@ApiModelProperty(value = "${column.comment}")
private String unionId;

//@ApiModelProperty(value = "用户授权登录openid 扩展第三方登陆使用")
private String openId;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
//@ApiModelProperty(value = "创建时间")
private Date createTime;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
//@ApiModelProperty(value = "更新时间")
private Date updateTime;

//@ApiModelProperty(value = "创建者")
private String createBy;

//@ApiModelProperty(value = "更新者")
private String updateBy;

//@ApiModelProperty(value = "盐")
private String salt;

//@ApiModelProperty(value = "删除标志（0正常 1删除）")
private String delFlag;

//@ApiModelProperty(value = "是否需要参与排班0需要,1 不需要")
private String schedulingFlag;
}
